<%--
  Created by IntelliJ IDEA.
  User: iMist
  Date: 2018/8/13
  Time: 17:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
</head>
<body>

<form align="center" action="/RGServlet" method="post">

    用户名:<input type="text" name="username" pattern="[a-zA-Z]{6,12}" required="required" placeholder="请输入6-12位的字母"></p>
    密&nbsp;码:<input type="password" name="password" pattern="[0-9]{6,}" required="required" placeholder="请输入至少6位的数字"></p>
    手机号:<input type="text" name="phone" pattern="1[3578]\d{9}" required="required" placeholder="请输入手机号"></p>
    邮&nbsp;箱:<input type="email" name="email" required="required" placeholder="邮箱"></p>
    <input type="submit" value="提交"> <input type="reset" value="重置">
</form>
</body>
</html>
